<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html 	xmlns="http://www.w3.org/1999/xhtml"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:h="http://java.sun.com/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core">
	<f:view locale="#{localeBean.locale}">
	<h:head>
		<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
		<title>Insert title here</title>
		<h:outputStylesheet library="css" name="test.css" />
		<script>
			var confirmDeleteList = '#{appResources["message.newslist.delete"]}';
			var confirmDeleteNews = '#{appResources["message.viewnews.delete"]}';
			var noSelectedNews = '#{appResources["message.newslist.noselected"]}';
			var invalidTitle = '#{appResources["message.addnews.invalidtitle"]}';
			var invalidDate = '#{appResources["message.addnews.invaliddate"]}';
			var invalidBrief = '#{appResources["message.addnews.invalidbrief"]}';
			var invalidContent = '#{appResources["message.addnews.invalidcontent"]}';
			var datePattern = '#{appResources["format.date"]}'; 
		</script>
		<h:outputScript library="js" name="validate.js" />
	</h:head>
	<body>
		<div id="main">
			<div id="header">
				<ui:insert name="header">
					<ui:include src="/view/sections/header.xhtml" />
				</ui:insert>		
			</div>
			<div id="menu">
				<ui:insert name="menu">
					<ui:include src="/view/sections/menu.xhtml" />
				</ui:insert>	
			</div>
			<div id="content">
				<ui:insert name="content" />
			</div>
			<div id="buffer">				
			</div>
		</div>
		<div id="footer">
			<ui:insert name="footer">
				<ui:include src="/view/sections/footer.xhtml" />
			</ui:insert>
		</div>
	</body>
	</f:view>
</html>